import java.util.Arrays;

public class Test1 {
    public static void main(String[] args) {
        int[] arr = {1,2,3};
        transform(arr);
        for(int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
    }
    public static void transform(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            arr[i] = arr[i] * 2;
        }
    }
}
